package com.itheima.service.db;

import com.itheima.domain.db.Notification;
import com.itheima.domain.db.Question;
import com.itheima.domain.mongo.Visitor;

import java.util.List;

public interface QuestionService {
    //根据id查询问题
    Question findByUserId(Long id);

    //保存陌生人问题
    void save(Question question);

    //修改陌生人问题
    void update(Question question);



}
